package homework_03.home_21;

import java.util.Scanner;

public class HomeWork_21 {
    /**/
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        System.out.println("请输入数字");
        int a = input.nextInt();
        int x = a;
        for(int i = 0;x!=0;i++){
            a=x%10;
            System.out.print(a);
            x=x/10;
        }
    }
}
